﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyCreditsControl.ascx.cs" Inherits="Aandelendelen.Controls.MyCreditsControl" %>


<%@ Register src="BannerViewControl.ascx" tagname="BannerViewControl" tagprefix="uc2" %>

<%@ Register assembly="Aandelendelen" namespace="Aandelendelen.Controls" tagprefix="cc1" %>

<asp:Panel ID="Panel1" runat="server" CssClass="common">
<table border="0" width="100%">
<tr>
<td width="50%"><p class="title">Mijn saldo</p></td>
<td class="bannerview"><uc2:BannerViewControl ID="BannerViewControl1" runat="server" /></td>
</tr>
</table>
<br />
    <asp:Label ID="Label12" runat="server" Text="Saldo:" CssClass="big"></asp:Label>
    &nbsp;
    <cc1:CurrencyLabel ID="lblSaldo" runat="server" CssClass="big"></cc1:CurrencyLabel>
    &nbsp;
    <asp:HyperLink ID="hplOpwaarderen" runat="server" CssClass="textlink" NavigateUrl="~/BuyCredits.aspx">(Hoe vul ik mijn saldo aan?)</asp:HyperLink>
<br />
<br />
<hr />
<br />
    <span><b>Totalen: </b></span>
    &nbsp;<asp:GridView ID="GridViewTotals" runat="server" AutoGenerateColumns="False" CellPadding="4" CssClass="saldohistorie" Font-Bold="False" ShowFooter="False">
        <Columns>
            <asp:BoundField DataField="Description" HeaderText="Omschrijving" ReadOnly="True"
                SortExpression="Description" >
                <ItemStyle CssClass="saldohistorie" />
            </asp:BoundField>
            <asp:BoundField DataField="Credit" HeaderText="Bijschrijvingen"
                ReadOnly="True" SortExpression="Credit" >
                <ItemStyle HorizontalAlign="Right" CssClass="saldohistorie" />
            </asp:BoundField>
            <asp:BoundField DataField="Debet" HeaderText="Afschrijvingen"
                ReadOnly="True" SortExpression="Debet" >
                <ItemStyle HorizontalAlign="Right" CssClass="saldohistorie" />
            </asp:BoundField>
        </Columns>
        <RowStyle CssClass="saldohistorierow" />
        <EditRowStyle BackColor="#999999" />
        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" HorizontalAlign="Left" />
        <AlternatingRowStyle CssClass="saldohistoriealternate" />
    </asp:GridView>
<br />
<br />
    <span><b>Historie:</b></span>
    <table border="0">
    <tr>
    <td align="left" valign="top">
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        CellPadding="4" CssClass="saldohistorie" Font-Bold="False" ShowFooter="True" 
        AllowPaging="True" onpageindexchanging="GridView1_PageIndexChanging" PagerSettings-Mode="NumericFirstLast" PagerSettings-PageButtonCount="10" PagerSettings-LastPageText="Laatste" PagerSettings-FirstPageText="Eerste">
        <Columns>
            <asp:BoundField DataField="Datum" HeaderText="Datum" ReadOnly="True" SortExpression="Datum" FooterText="Totaal:" >
                <ItemStyle HorizontalAlign="Left" CssClass="saldohistorie" />
                <HeaderStyle HorizontalAlign="Left" />
            </asp:BoundField>
            <asp:BoundField DataField="Credit" HeaderText="Bijschrijvingen"
                ReadOnly="True" SortExpression="Credit" >
                <ItemStyle HorizontalAlign="Right" CssClass="saldohistorie" />
            </asp:BoundField>
            <asp:BoundField DataField="Debet" HeaderText="Afschrijvingen"
                ReadOnly="True" SortExpression="Debet" >
                <ItemStyle HorizontalAlign="Right" CssClass="saldohistorie" />
            </asp:BoundField>
            <asp:BoundField DataField="Description" HeaderText="Omschrijving" ReadOnly="True"
                SortExpression="Description" >
                <ItemStyle CssClass="saldohistorie" />
            </asp:BoundField>
            <asp:BoundField DataField="Fonds" HeaderText="Fonds" ReadOnly="True" SortExpression="Fonds" >
                <ItemStyle HorizontalAlign="Right" CssClass="saldohistorie" />
            </asp:BoundField>
        </Columns>
        <RowStyle CssClass="saldohistorierow" />
        <EditRowStyle BackColor="#999999" />
        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" HorizontalAlign="Left" />
        <AlternatingRowStyle CssClass="saldohistoriealternate" />
        <FooterStyle BackColor="White" Font-Bold="True" ForeColor="Black" HorizontalAlign="Right" />
    </asp:GridView>
    </td>
    <td align="left" valign="top">
    <asp:Button ID="Button2" runat="server" onclick="Button2_Click" Text="Historie opslaan als..." />
    <asp:RadioButtonList ID="RadioButtonList1" runat="server" 
        RepeatDirection="Vertical">
        <asp:ListItem Value="Excel" Selected="True">Excel</asp:ListItem>
        <asp:ListItem Value="Csv">Komma-gescheiden</asp:ListItem>
        <asp:ListItem Value="Xml">Xml</asp:ListItem>
    </asp:RadioButtonList>
    </td>

    </tr>
    </table>
<br />
<br />    
<script type="text/javascript"><!--
	google_ad_client = "pub-6728413239268485";
	//468x60, created 11/9/07
	google_ad_slot = "7299391756";
	google_ad_width = 468;
	google_ad_height = 60;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<br />
    
</asp:Panel>

